package com.cyj.comment.service;

import com.cyj.comment.entity.Blog;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cyj.comment.utils.Result;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author chixiaowai
 * @since 2023-04-04
 */
public interface BlogService extends IService<Blog> {

    Result queryHotBlog(Integer current);

    Result queryBlogById(Long id);

    Result likeBlog(Long id);

    Result queryBlogLikes(Long id);

    Result saveBlog(Blog blog);

    Result queryBlogOfFollow(Long max, Integer offset);
}
